<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8;" />
<title>Liste des lots - ATENET.</title>
<style>
table {
	font-size: 9pt;
	font-family: Arial, Helvetica, sans-serif;
}
.lots {
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}
.lots td, table th {
	border-left: 1px solid #000;
	border-top: 1px solid #000;
}
</style>
</head>

<body>
<table style="width: 185mm;" cellspacing="0" cellpadding="4">
	<tr valign="top">
		<td style="width: 100mm; border: 1px solid #000;" rowspan="4">
			syndic:
			<h2>{{ syndic.name }}<br />
			{{ syndic.adress }}</h2><br />
			Tel: {{ syndic.phone }}<br />
			Fax: {{ syndic.fax }}<br /><br />
			Email: {{ syndic.email }}<br />
			Site internet: {{ syndic.wwwsite }}
		</td>
		<td style="width: 5mm;">
		</td>
		<td align="center" style="width: 85mm; border: 1px solid #000;">
			<h2>Liste des lots</h2>
			et milliemes
		</td>
	</tr>
	<tr valign="top">
		<td></td>
		<td style="border-left: 1px solid #000; border-right: 1px solid #000; border-bottom: 1px solid #000;">
			copropriete:<br />
			{{ immeuble.name }}<br />
			{{ immeuble.adress }}
		</td>
	</tr>
	<tr valign="top">
		<td></td>
		<td style="height: 5mm;">
		</td>
	</tr>
	<tr valign="top">
		<td></td>
		<td style="border: 1px solid #000;">
			&nbsp;
		</td>
	</tr>
	<tr valign="top">
		<td align="left"></td>
		<td></td>
		<td align="right">Le {{ todaydate|datetimeformat }}</td>
	</tr>
</table>

<table class="lots" style="width: 185mm;" cellspacing="0" cellpadding="4">
	<tr valign="top">
		<th width="10mm"></>Lot</th>
		<th width="40mm">Type</th>
		<th width="11mm">Batiment</th>
		<th width="11mm">Escalier</th>
		<th width="11mm">Etage</th>
		<th width="11mm">Surface</th>
		<th width="36mm">Proprietaire</th>
		<th width="50mm">Cle de<br />repartition</th>
		<th width="15mm">millieme</th>
	</tr>
	{% for l in data0 %}
	<tr valign="top">
		<td valign="top">{{ l.lot.number }}</td>
		<td valign="top">{{ l.lot.lot_type }}</td>
		<td valign="top">{{ l.lot.batiment }}</td>
		<td valign="top">{{ l.lot.escalier }}</td>
		<td valign="top">{{ l.lot.etage }}</td>
		<td valign="top">{{ l.lot.surface }}</td>
		<td valign="top">{% if l.lot_owner %} {{ l.lot_owner }} {% else %}<font color="red">Assigner un propriétaire</font>{% endif %}</td>
		<td style="font-size: 10px;" nowrap><nobr>
			{% if l.ck_list %}
			{% for c in l.ck_list %}
				{{ c.charges_key.code }} {{ c.charges_key.name }}<br />
			{% endfor %}
			{% else %}
			<center><font color="red">Seletionner une clé</font></center>
			{% endif %}
		</nobr>
		</td>
		<td align="right" style="font-size: 10px;">
			{% if l.ck_list %}
			{% for c in l.ck_list %}
				{{ c.tantieme }}<br />
			{% endfor %}
			{% else %}
			<center><font color="red">Manque tantieme</font></center>
			{% endif %}
		</td>
	</tr>
	{% endfor %}
</table>
</body>
</html>